/**
 * @param {获取cookie} key 
 */
function getCookie(key){
    var r = document.cookie.match("\\b" + key + "=([^;]*)\\b");
    return r ? r[1] : undefined;
}